# $Id: PKGBUILD 123155 2011-05-09 00:53:15Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=xmahjongg
pkgver=3.7
pkgrel=4
pkgdesc="Mahjongg game for X-Window"
arch=('i686' 'x86_64')
url="http://www.lcdf.org/xmahjongg/"
license=('GPL')
depends=('gcc-libs' 'libx11')
source=(http://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('9db5bf1b329b410220b7976cd9b3d374')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
